package cn.wsalix.shop.form;

import java.util.Date;

import javax.validation.constraints.NotNull;

import lombok.Data;
import lombok.EqualsAndHashCode;
import cn.anlaser.form.SimpleForm;
import cn.wsalix.admin.entity.SysUser;
import cn.wsalix.shop.entity.Product;
import cn.wsalix.shop.status.ShopEnum;

@Data
@EqualsAndHashCode(callSuper = false)
public class ShopForm extends SimpleForm {
	/**
	 * 
	 */
	private static final long serialVersionUID = 3625741956691574812L;
	@NotNull
	private String name;
	@NotNull
	private int evaluateScore;
	@NotNull
	private String offset;
	private String memo;
	@NotNull
	private String logo;
	@NotNull
	private String offsetY;
	@NotNull
	private String offsetX;
	private Date evaluateTime;
	@NotNull
	private Long id;
	@NotNull
	private String evaluate;

	private SysUser principal;
	@NotNull
	private Long principalId;
	private ShopEnum status;

	private String shortName;
	private String address;// 地址

	private String telephone;
	private String fax;

	private Long productId;
	private Product product;
	
	private Long catId;

}
